package chances.epg.entity.biz;

import java.util.Date;

import chances.epg.entity.AccessEntity;

/**
 * 展示栏目推荐位编排内容.
 * @author libf
 *
 */
public class BizPositionItem extends AccessEntity {
	public static final String LINKOBJTYPE_BIZ="biz";
	public static final String LINKOBJTYPE_VOD="vod";
	
	private Long id;
	private Long positionId;
	private String positionCode;
	
	private Date validTime;
	private Date expireTime;
	private int defaultFlag;
	private int type;
	private int itemOrder;
	private String icon;
	private String icon2;
	private String linkType;
	private String objType;
	private String objValue;
	private String showFlag;
	private String opShowFlag;
	private Date beginTime;
	private Date endTime;
	private String channelCode;
	private String title;
	private String subTitle;
	
	public boolean isBiz() {
		return LINKOBJTYPE_BIZ.equals(this.objType);
	}
	
	public boolean isVod() {
		return LINKOBJTYPE_VOD.equals(this.objType);
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getPositionId() {
		return positionId;
	}
	public void setPositionId(Long positionId) {
		this.positionId = positionId;
	}
	
	public String getPositionCode() {
		return positionCode;
	}
	public void setPositionCode(String positionCode) {
		this.positionCode = positionCode;
	}
	public Date getValidTime() {
		return validTime;
	}
	public void setValidTime(Date validTime) {
		this.validTime = validTime;
	}
	public Date getExpireTime() {
		return expireTime;
	}
	public void setExpireTime(Date expireTime) {
		this.expireTime = expireTime;
	}
	public int getDefaultFlag() {
		return defaultFlag;
	}
	public void setDefaultFlag(int defaultFlag) {
		this.defaultFlag = defaultFlag;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getItemOrder() {
		return itemOrder;
	}
	public void setItemOrder(int itemOrder) {
		this.itemOrder = itemOrder;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getIcon2() {
		return icon2;
	}
	public void setIcon2(String icon2) {
		this.icon2 = icon2;
	}
	public String getLinkType() {
		return linkType;
	}
	public void setLinkType(String linkType) {
		this.linkType = linkType;
	}
	public String getObjType() {
		return objType;
	}
	public void setObjType(String objType) {
		this.objType = objType;
	}
	public String getObjValue() {
		return objValue;
	}
	public void setObjValue(String objValue) {
		this.objValue = objValue;
	}
	public String getShowFlag() {
		return showFlag;
	}
	public void setShowFlag(String showFlag) {
		this.showFlag = showFlag;
	}
	public String getOpShowFlag() {
		return opShowFlag;
	}
	public void setOpShowFlag(String opShowFlag) {
		this.opShowFlag = opShowFlag;
	}
	public Date getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getChannelCode() {
		return channelCode;
	}
	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSubTitle() {
		return subTitle;
	}
	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}
}
